package org.test.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.test.common.ModelConstant;


@Entity
@Table(name="TbStudent",catalog=ModelConstant.DB_CATALOG,schema=ModelConstant.DB_SCHEMA)
public class TbStudent implements java.io.Serializable {

	@Id
	@Column(name="tbStudentId",length=ModelConstant.STRING_LENGHT_id)
	private String tbStudentId;
	
	@Column(name="name",length=ModelConstant.STRING_LENGHT_name,nullable=false)
	private String name;
	public String getTbStudentId() {
		return tbStudentId;
	}

	public void setTbStudentId(String tbStudentId) {
		this.tbStudentId = tbStudentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
	
}
